package com.hydra.footstones.application;

import android.app.Application;
import android.content.Context;
import androidx.multidex.MultiDex;

import com.hydra.framework.router.JRouter;
import com.hydra.modulecenter.ModuleCenter;

/**
 * Created by hasee on 2017/7/27.
 *
 */
public class FootStoneApplication extends Application {

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);

        MultiDex.install(base);
    }

    @Override
    public void onCreate() {
        super.onCreate();

        JRouter.init();

        ModuleCenter.init(this);
    }
}
